package com.contextor.magiccards.model.cards;

/**
 * User: sergey
 * Date: Apr 29, 2011 5:05:55 PM
 */
public enum CardType {
    CREATURE("Creature", false),
    INSTANT_CAST("Instant", true),
    SORCERY("Sorcery", true),
    ENCHANTMENT("Enchantment", false),
    ARTIFACT("Artifact", false),
    LAND("Land", false),
    PLANE_WALKERS("Planeswalkers", false);

    private boolean instant;
    private String label;

    CardType(String label, boolean instant) {
        this.label = label;
        this.instant = instant;
    }

    public boolean isInstant() {
        return instant;
    }
}
